---
title: clsClaimTask
summary: API reference for clsClaimTask.
status: draft
owner: SAIF Documentation
last_reviewed: 2026-08-21
library: SAIF.Business.Tasks.Claim
reference_type: embedded
---

# clsClaimTask

`clsClaimTask` binds a workflow task to a claim, sourcing human-readable claim attributes either from `clsClaimData` (single-object retrieval) or the `PK82284_CLAIM_TASK.SELECT_ADDITIONAL_FIELDS` stored procedure (bulk/list retrieval), and enforces claim-task-specific business rules such as assignee AD access, text requirements, and due-date limits.

## Purpose
- Owns the claim-task creation, load-enrichment, and completion lifecycle ([Create a claim task](../../operations/op-1-create-claim-task.md), [Enrich a loaded claim task](../../operations/op-3-enrich-loaded-claim-task.md), [Complete a task](../../operations/op-11-complete-task.md)).
- Enforces assignee-access and claim-validity rules before allowing a mailid or claim number change ([BR-CT-01](../../business-rules.md#br-ct-01-claim-task-must-reference-a-resolvable-claim), [BR-CT-03](../../business-rules.md#br-ct-03a-assignee-validation-exemptions), [BR-CT-06](../../business-rules.md#br-ct-06-external-rtw-user-must-be-assigned-to-the-claim)).
- Sanitizes and length-limits task text on assignment ([BR-CT-04](../../business-rules.md#br-ct-04-task-text-is-required), [BR-CT-05](../../business-rules.md#br-ct-05-task-text-length-limit), [BR-CT-08](../../business-rules.md#br-ct-08-task-text-is-sanitized-on-assignment)).

## Context
- Namespace: `SAIF.Business.Tasks.Claim`
- Assembly/package: `SAIF.Business.Tasks.Claim.dll` (embedded, compiled into the `LegalMaintenance` web deployment)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `ClaimNum` | `Public Property ClaimNum As String` | Re-resolves `clsClaimData` for the new claim number and re-keys the task context, running [BR-CT-01](../../business-rules.md#br-ct-01-claim-task-must-reference-a-resolvable-claim) via [Change the claim on a task](../../operations/op-8-change-claim-on-task.md). |
| `SAIFClaimNum` | `Public ReadOnly Property SAIFClaimNum As String` | Returns the SAIF claim number including its check character, sourced from `clsClaimData` or the extra-fields procedure. |
| `PolicyName` | `Public ReadOnly Property PolicyName As String` | Returns the policy (employer) name associated with the bound claim. |
| `PolicyNumber` | `Public Shadows Property PolicyNumber As String` | Returns/sets the policy number, shadowing the base task's property with claim-specific resolution. |
| `WorkerName` | `Public ReadOnly Property WorkerName As String` | Returns the injured worker's name; replaced with `"Confidential"` by [BR-MY-01](../../business-rules.md#br-my-01-confidential-worker-name-redaction) when redaction applies. |
| `WorkStatus` | `Public ReadOnly Property WorkStatus As String` | Returns the claim's work-status description. |
| `Completed` | `Public Property Completed As Boolean` | Flags the task as completed, set by `MarkCompleted()` when a notepad entry is required ([BR-CT-07](../../business-rules.md#br-ct-07-completing-a-notepad-required-task-marks-it-completed-before-soft-delete)). |
| `Deleted` | `Public Property Deleted As Boolean` | Reflects/sets the soft-delete flag on the task row. |
| `PriorityTask` | `Public Property PriorityTask As Boolean` | Toggles the priority code between `URG` and `MED` ([BR-CT-09](../../business-rules.md#br-ct-09-priority-task-flag-maps-to-urgmed-priority-code)). |
| `MailID` | `Public Shadows Property MailID As String` | Assigns the task owner, uppercasing input and triggering assignee validation ([Assign or change the task owner](../../operations/op-9-assign-or-change-task-owner.md)). |
| `Text` | `Public Shadows Property Text As String` | Assigns sanitized task text via `clsCharacterAnalyzer.GetCleanString`, triggering length/required rules ([BR-CT-08](../../business-rules.md#br-ct-08-task-text-is-sanitized-on-assignment)). |
| `IsWorkerConflict` | `Public ReadOnly Property IsWorkerConflict As Boolean` | Indicates the claim carries a worker-conflict flag, gating confidentiality redaction. |
| `IsExposure` | `Public ReadOnly Property IsExposure As Boolean` | Indicates the claim carries an exposure flag, gating confidentiality redaction. |
| `isHostileWrkr` | `Public ReadOnly Property isHostileWrkr As Boolean` | Indicates the claim carries a hostile-worker flag, gating confidentiality redaction. |
| `isHealthIssue` | `Public ReadOnly Property isHealthIssue As Boolean` | Indicates the claim carries a health-issue flag, gating confidentiality redaction. |
| `setNotePadFlag` | `Public WriteOnly Property setNotePadFlag As String` | Sets the notepad-required flag used by [BR-CT-07](../../business-rules.md#br-ct-07-completing-a-notepad-required-task-marks-it-completed-before-soft-delete). |
| `Shared NewTask(dpi, claimId)` | `Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer) As clsClaimTask` | Creates a new claim task bound to the given claim ([Create a claim task](../../operations/op-1-create-claim-task.md)). |
| `Shared NewTask(dpi, claimId, createUser)` | `Public Shared Function NewTask(dpi As IDataPortalInfo, claimId As Integer, createUser As String) As clsClaimTask` | Creates a new claim task, stamping the supplied create user. |
| `CopyTo(inMailID)` | `Public Function CopyTo(inMailID As String) As iTask` | Duplicates the task for a new claim and assigns it to `inMailID` ([Copy a task to another user](../../operations/op-12-copy-task-to-another-user.md)). |
| `LoadAfterSort(dpi, reader)` | `Public Sub LoadAfterSort(dpi As IDataPortalInfo, reader As IDataReader)` | Public wrapper over the protected `Load`, used by `clsMyTaskCollection.AfterRetrieve` to materialize a row post-sort-key assignment. |
| `Save()` | `Public Overrides Function Save() As iTask` | Persists the task via the inherited stored-procedure path ([Save a claim / Coverage B task](../../operations/op-10-save-claim-or-coverageb-task.md)). |
| `SaveChild()` | `Public Overrides Sub SaveChild()` | Persists the task as a child object in a parent save operation. |
| `MarkCompleted()` | `Public Sub MarkCompleted()` | Soft-deletes the task, optionally flagging `Completed` first when a notepad entry is required ([Complete a task](../../operations/op-11-complete-task.md)). |

## Inherited public members

Members in this section are inherited from `clsTask` in `SAIF.Business.Tasks`. They are available on this type through inheritance.

| Member | Signature | Purpose | Origin |
| --- | --- | --- | --- |
| `ActionCode` | `Public Overrides ReadOnly Property ActionCode As String` | Always returns `clsTaskActionCodeCollection.cNoActionRequired` for claim tasks.† | `SAIF.Business.Tasks` — `clsTask` |
| `DisplayField1..3` | `Public Overrides ReadOnly Property DisplayField1 As String` (and `2`, `3`) | Return empty strings for claim tasks; no display-field customization is used.† | `SAIF.Business.Tasks` — `clsTask` |
| `RequiresNotePadEntry` | `Public Overrides ReadOnly Property RequiresNotePadEntry As Boolean` | Reflects `NotepadFlag = "Y"`, feeding [BR-CT-07](../../business-rules.md#br-ct-07-completing-a-notepad-required-task-marks-it-completed-before-soft-delete).† | `SAIF.Business.Tasks` — `clsTask` |
| `SourceCode` | `Public Overrides ReadOnly Property SourceCode As String` | Always returns `clsTaskSourceCodeCollection.cClaims`, constraining retrieval to `CLAIM` rows ([BR-CT-11](../../business-rules.md#br-ct-11-claim-tasks-always-report-claims-source-system)).† | `SAIF.Business.Tasks` — `clsTask` |
| `SourceSystem` | `Public Overrides ReadOnly Property SourceSystem As TaskSourceSystem` | Always returns `TaskSourceSystem.Claims`.† | `SAIF.Business.Tasks` — `clsTask` |

## Behavioral notes
- `<Reportable()>` is applied to `MailID`, `ClaimNum`, `PriorityTask`, `PolicyName`, `PolicyNumber`, `SAIFClaimNum`, `Text`, `WorkerName`, `WorkStatus`, exposing them to the framework reporting/binding surface.*
- Confidentiality flags delegate to `clsClaimData` when loaded and are consumed by `clsMyTaskCollection`'s redaction logic ([BR-MY-01](../../business-rules.md#br-my-01-confidential-worker-name-redaction)).

## Constraints and usage notes
- `mailidNeedsValidation` gates whether `CheckRules("TaskUser")` re-runs on `MailID` assignment; it is cleared on a fresh list-path load ([Enrich a loaded claim task](../../operations/op-3-enrich-loaded-claim-task.md)).
- All business types in this library are `<Serializable()>`, consistent with remoting/session persistence of BOF objects across the web tier.*

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified. Statements marked with
> † were retrieved from dependency library documentation via the Legends CLI RAG service. They
> describe inherited behavior from the indicated origin library and should be verified if the
> dependency version changes.

## Sources
- SAIF.Business.Tasks.Claim/clsClaimTask.vb
